package com.tanhua.dubbo.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

public enum Nature implements IEnum<Integer> {

    OWL(0, "猫头鹰"),
    WR(1,"白兔型"),
    FOX(2, "狐狸型"),
    LION(3, "狮子型"),;

    private int value;
    private String desc;

    Nature(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;

    }
}